package com.example.bookshop.repository;


import com.example.bookshop.entity.Customer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerRepository {
    public Customer findCustomerById(Integer Id);
    public Customer findCustomerByTel(Customer customer);
    public List<Customer>findAllCustomer();
    public int addCustomer(Customer customer);
    public int updateCustomer(Customer customer);
    public int deleteListCustomer(List list);
    public int deleteCustomer(Integer Id);
}
